package io.dcloud.plugin.keyevent;

import io.dcloud.feature.uniapp.common.UniModule;
import io.dcloud.feature.uniapp.annotation.UniJSMethod;

public class KeyEventPlugin extends UniModule {
    @UniJSMethod(uiThread = true)
    public void listenKey(String param, UniJSCallback callback) {
        // 实现监听逻辑
        callback.invoke("key event received");
    }
}